﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "chargesdetailinfo", DisableSyncStructure = true)]
	public partial class Chargesdetailinfo {

		/// <summary>
		/// 项目编号  主键
		/// </summary>
		[JsonProperty, Column(Name = "did", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Did { get; set; }

		/// <summary>
		/// 收费项目id  外键
		/// </summary>
		[JsonProperty, Column(DbType = "int")]
		public int? Chargesid { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "createtime", DbType = "datetime")]
		public DateTime? Createtime { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 应缴费用
		/// </summary>
		[JsonProperty, Column(Name = "moneysum", DbType = "decimal(10,0)")]
		public decimal? Moneysum { get; set; }

		/// <summary>
		/// 业主id 外键
		/// </summary>
		[JsonProperty, Column(Name = "oid", DbType = "int")]
		public int? Oid { get; set; }

		/// <summary>
		/// 缴费时间
		/// </summary>
		[JsonProperty, Column(Name = "paytime", DbType = "datetime")]
		public DateTime? Paytime { get; set; }

		/// <summary>
		/// 收费备注
		/// </summary>
		[JsonProperty, Column(Name = "remark")]
		public string Remark { get; set; }

		/// <summary>
		/// 缴费状态(0未缴费  1已缴费)
		/// </summary>
		[JsonProperty, Column(Name = "state")]
		public bool? State { get; set; }

	}

}
